package weixinkeji.dev.dc.base.refectory.check;

import sys.wx.c.components.check.CheckService;
import sys.wx.c.components.check.bean.CheckData;

public class RefectoryCheck {

    public CheckData doRefectory(boolean id_must) {//如果是添加操作id还没产生，所以用变量。
        CheckData cd = CheckService.getCheckData();
        cd
                .put("refectory_id", CheckData.ID, id_must)
                .put("refectory_name", CheckData.TEXT_L + "{1,26}", true)
                .put("refectory_code", CheckData.NUMBER_INT_L + "{1,26}", true)
                .put("refectory_info", CheckData.TEXT_L + "{1,50}", false)
                .put("flid", CheckData.ID, true);
        return cd;
    }
}
